package com.ihg.hiex.admin.service.session;

import java.util.List;

import com.ihg.hiex.admin.entity.session.RelationShip;
import com.ihg.hiex.admin.service.DataService;
import com.ihg.hiex.entity.session.Session;
import com.ihg.hiex.entity.user.Assessor;
import com.ihg.hiex.entity.user.Delegate;
import com.ihg.hiex.entity.user.KnowingRelation;

/**
 *
 * @author Ark
 *
 */
public interface KnowingRelationService extends DataService<KnowingRelation> {
     
    /**
     * @param session
     * @return
     */
    public List<KnowingRelation> list(Session session);
    
    /**
     * @param session
     * @param assessor
     * @param delegate
     * @return
     */
    public KnowingRelation load(Session session, Assessor assessor, Delegate delegate);
    
    /**
     * 
     * @param session
     * @param assessors
     * @param delegates
     * @return
     */
    public List<RelationShip> listRelationShip(Session session, List<Assessor> assessors, List<Delegate> delegates);
    
    /**
     * @param session
     * @return
     */
    public List<Assessor> listAssessor(Session session);
    
    /**
     * @param session
     * @return
     */
    public List<Delegate> listDelegate(Session session);
    
}
